package com.fanghuaiming.seata.account.service;

import java.math.BigDecimal;

/****
 * @description: 账户服务接口
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午1:58
 *
 */
public interface AccountService {

    /**
     * @Description: 扣减账户余额
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/11/30 下午6:08
     * @version:1.0.0
     */
    void decrease(Long userId, BigDecimal money);
}
